import {
	sendRequest
} from '../request'


/**
 *  获取行业数据
 * */
export function publish(data) {
	const json = {
		url: '/api/terminal/biz/publish',
		method: 'post',
		data: data
	}
	return sendRequest(json)
}

// 行业级联
export function findTypeCascade() {
	const json = {
		url: '/api/terminal/machine/util/findTypeCascade',
		method: 'get',
	}
	return sendRequest(json)
}


// 行政级联4级
export function findNxLevel4Tree() {
	const json = {
		url: '/api/terminal/machine/util/findNxLevel4Tree',
		method: 'get',
	}
	return sendRequest(json)
}

/**
 *  盐池县四乡四镇一街道
 * */
export function findYanchixianLevel4Tree() {
	const json = {
		url: '​/api/terminal/machine/util/findYanchixianLevel4Tree',
		method: 'get',
	}
	return sendRequest(json)
}